package cn.community.care.module.system.controller.admin.msg.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.*;

@Schema(description = "管理后台 - 评论新增/修改 Request VO")
@Data
public class MsgSaveReqVO {

    @Schema(description = "评论ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "7635")
    private Long id;

    @Schema(description = "评论人ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "495")
    @NotNull(message = "评论人ID不能为空")
    private Long commenterId;

    @Schema(description = "评论内容", requiredMode = Schema.RequiredMode.REQUIRED)
    private String content;

    @Schema(description = "父评论ID", example = "7923")
    private Long parentCommentId;

    @Schema(description = "文章ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "10491")
    @NotNull(message = "文章ID不能为空")
    private Long articleId;

    @Schema(description = "评论喜欢数量", example = "19299")
    private Integer likesCount;

    @Schema(description = "评论状态（1：启用，0：禁用）", example = "2")
    private Integer status;

}